<!-- This page display the previous edit version of the current tutorial
  @author Haidy Essam-->
#{extends 'main.html' /}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<p>All Edit Version</p>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>All Edit Version</title>
</head>
<body>
	#{list items:allVersions, as:'all'}
	<form action="@{Tutorials.versionPage()}" method="POST">
		<input name="tutorialId" style="display: none;" value=${tutorial.id}></input>
		<input name="version" style="display: none;" value=${all.id}></input>
		<input type="submit" value="${all.editDate}" />
	</form>


	#{/list}
	<form action="@{Tutorials.tutorialPage()}" method="post">
		<input style="display: none;" name="tutId" value="${tutorial.id}" />
		<input type="submit" value="Back to the Tutorial Page" />
	</form>
	<br />
	<br />
</body>
</html>